package com.biostime.dingdingbox.modules.db.entity;

import com.biostime.dingdingbox.common.persistence.DataEntity;

/**
 * 平台会员关系表Entity
 * @author chenweicheng
 * @version 2016-07-03
 */
public class PlatformMember extends DataEntity<PlatformMember> {

	private static final long serialVersionUID = 1L;
	
	private int memberId;// 会员主键编号
	private String platform;// 平台
	private String foreignId;// 第三方会员编号
	private String nickname;// 昵称
	private String avatar;//头像
	public int getMemberId() {
		return memberId;
	}
	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}
	public String getPlatform() {
		return platform;
	}
	public void setPlatform(String platform) {
		this.platform = platform;
	}
	public String getForeignId() {
		return foreignId;
	}
	public void setForeignId(String foreignId) {
		this.foreignId = foreignId;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	
	public PlatformMember(){
		super();
	}
	
	public PlatformMember(String id){
		super("id");
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}	
	
	
}